<script type="text/javascript" src="<?php echo URL::base() . 'media/js/ckeditor/ckeditor.js' ?>"></script>
<form method="post" action="<?php echo $action ?>">
    <label for="title">Cím</label>
    <input type="text" name="title" id="title" <?php if (isset($news))
    echo('value="' . $news->title.'"'); ?> /><br/>
    <label for="body">Szöveg</label>
<?php echo $ckeditor->editor("body", @$news->body, $config) ?><br />
    <input type="submit" value="Mentés" />
</form>
<a href="<?php echo Url::site('admin/tasks', TRUE, FALSE) ?>">Vissza</a>